<!--
/* Powered by JYWAP & jy.qhxin.com */
console.log("均源触屏版AJAX & Powered by JunYuan & jy.qhxin.com");
function $(id) {
	return typeof id === 'string' ? document.getElementById(id) : id;
}
function addEvent(el, type, handler) {
	if(el.attachEvent) {
		el.attachEvent("on" + type, handler);
	} else if(el.addEventListener) {
		el.addEventListener(type, handler, false);
	}
}
function removeEvent(el, type, handler) {
	if(el.detachEvent) {
		el.detachEvent('on' + type, handler);
	} else if(el.removeEventListener) {
		el.removeEventListener(type, handler, false);
	}
}
function inArray(needle,array,bool){
	if(typeof needle=="string" || typeof needle=="number"){
		var len=array.length;
		for(var i=0;i<len;i++){
			if(needle===array[i]){
				if(bool){
					return i;
				}
				return true;
			}
		}
		return false;
	}
}
-->